'''
@author: haiwen
@date: 2020/9/23
@file: conftest.py
'''
import pytest

#创建销售部
@pytest.fixture(scope='package')
def init_organiz(before_admin):
    org_api=before_admin
    org=org_api.add(name='销售部')
    yield org_api,org
    org_api.delete(org['_id'])

